package com.rd.student.dashuju.wangbo.demo2;

public class Rose extends Flower{
    private String place;
    public void setPlace(String place){
        this.place = place;
    }
    public String getPlace(){
        return place;
    }

    @Override
    public void showInFo() {
        super.showInFo();
        System.out.println("产地黑龙江");
    }
    public void warn(){
        System.out.println("不要摘玫瑰花，小心扎手！");
    }
}
